<template>

    <div class="second_block" v-if="visible">
      <div style="text-align: center;">
        <img src="/static/logo.png" style="width: 80px;height: 75px">
      </div>
      <el-divider></el-divider>
      <br>
      <div style="font-size: 17px;text-align: center;font-weight: bold;color: #000000;line-height: 30px;">{{script_1}}
<!--        {{form.gift_email}}-->
      </div>
      <br>
<!--      <div style="text-align: center">-->
<!--        <el-button type="warning" @click="doBack">CLOSE</el-button>-->
<!--      </div>-->
    </div>
</template>

<script>
export default {
  name: "gift-card",
  props: {
    // 弹窗是否打开
    visible: Boolean,
    data: Object,
  },
  data() {
    return {
      // 表单数据
      form: Object.assign({}, this.data),
      // 表单验证规则
      rules: {
      },
      // 提交状态
      loading: false,
      process_end_page_script_operate:{},
      script_1:'',

      // 是否是修改
      isUpdate: false
    };
  },
  methods : {

    setData(info)
    {
      this.script_1 = info.operate_list.process_end_page_script_operate.script_1;
    },
    setBuyerConfig(data){
      this.script_1 = data.gift_end_page_script.script_1;
    },
    //返回上一级
    doBack()
    {
      this.$emit('handleClose');
    },
  }
}
</script>

<style scoped>

</style>
